package main

import (
	"fmt"
	clientproxy "go_stu/4_helloworld/client_proxy"
)

func main() {
	// 1. 建立连接
	client := clientproxy.NewHelloSerivceClient("tcp", "localhost:1234")
	var reply string
	err := client.Hello("bobby", &reply)
	if err != nil {
		panic("调用失败" + err.Error())
	}
	fmt.Println(reply)
}
